package com.liuya.db.sql;

/**
 * SQL操作：Operation: =, !=, <=, <, >=, >, LIKE
 */
public class SimpleOperator extends Operator implements java.io.Serializable {
	public static final String EQUAL = "=";
	public static final String NOT_EQUAL = "!=";
	public static final String LESS_EQUAL = "<=";
	public static final String LESS_THAN = "<";
	public static final String GREATER_EQUAL = ">=";
	public static final String GREATER_THAN = ">";
	public static final String LIKE = "LIKE";

	public String toSQL() {
		StringBuffer buf = new StringBuffer();
		buf.append(" ").append(this.getValue()).append(" ");
		return buf.toString();
	}
}
